<?php
require 'common.php';

$id = $_GET['id'];
mysql_query("delete from `blogclass` where `id` = '$id'");
echo "<script>alert('删除成功！');location.href='index.php'</script>";